package com.example.demo;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Created by yuzhanwu.
 * Created on 2017/6/16.
 */
@Component
@ConfigurationProperties(prefix = "image")
public class FilePathConfig {
    private static final String PATH = "E:/tmp_docs/source";
    private String path = PATH;

    private String previewPath;

    public String getPreviewPath() {
        return previewPath;
    }

    public void setPreviewPath(String previewPath) {
        this.previewPath = previewPath;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }
}
